package com.spa.infrastructure.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spa.domain.entity.OrderExtDetail;
import com.spa.infrastructure.repository.po.OrderExtDetailPO;
import org.mapstruct.Mapper;
import org.mapstruct.MapperConfig;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 加单详情表(OrderExtDetail) 映射结构类
 *
 * @author lig
 * @since 2024-02-21 17:11:42
 */
@Mapper
@MapperConfig(unmappedTargetPolicy = ReportingPolicy.WARN)
public interface OrderExtDetailMapperStruct {

	OrderExtDetailMapperStruct INSTANCE = Mappers.getMapper(OrderExtDetailMapperStruct.class);
	
	Page<OrderExtDetail> po2Entity4Page(Page<OrderExtDetailPO> po);
	
	List<OrderExtDetail> po2Entity4List(List<OrderExtDetailPO> po);
	
	OrderExtDetail po2Entity(OrderExtDetailPO po);


    
}
